/*
 * @Author: BaiYu
 * @Date: 2021-03-21 00:16:02
 * @LastEditTime: 2021-04-21 14:37:20
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \STM32_Proj\Source\Dev\Timer.h
 */
#ifndef __BSP_TIMER_H_
#define __BSP_TIMER_H_

#include "stdint.h"

static void TIM3_NVIC_Config(void);
static void TIM5_NVIC_Config(void);
static void TIM2_Mode_Config(uint16_t prescaler, uint16_t period);
static void TIM3_Mode_Config(uint16_t prescaler, uint16_t period);
static void TIM4_Mode_Config(uint16_t prescaler, uint16_t period);
static void TIM5_Mode_Config(uint16_t prescaler, uint16_t period);
void Tim1Init(void);
void Tim2Init(int prescaler, int period);
void Tim3Init(int prescaler, int period);
void Tim4Init(int prescaler, int period);
void Tim5Init(int prescaler, int period);



#endif

